home *** CD-ROM | disk | FTP | other *** search
/ NeXT Enterprise Objects Framework 1.1 / NeXT Enterprise Objects Framework 1.1.iso / NextDeveloper / Examples / EnterpriseObjects / SQLExecutor / Evaluator.h < prev    next >
Encoding:
Text File  |  1994-12-31  |  853 b   |  37 lines

  1.  
  2. #import <appkit/appkit.h>
  3. #import <foundation/NSString.h>
  4. #import <foundation/NSArray.h>
  5. #import <foundation/NSDictionary.h>
  6. #import <foundation/NSObject.h>
  7. #import <eoaccess/eoaccess.h>
  8.  
  9. #import "SybaseDelegate.h"
  10.  
  11. @interface Evaluator:Object
  12. {
  13.     id queryView;
  14.     id resultsView;
  15.         
  16.     SybaseDelegate  *sybaseDelegate;
  17.     
  18.     NSDictionary *columnNamesDict;
  19.     NSMutableArray *recordsArray;
  20.     NSArray *attributes;
  21.     EOModel *model;
  22.     EOAdaptor  *adaptor;
  23.     EOAdaptorContext *context;
  24.     EOAdaptorChannel *channel;
  25. }
  26.  
  27. - initWithModelFile:(NSString *)filePath;
  28.  
  29. - evaluate:sender; 
  30. - readDataFromDict:(NSDictionary *) rowsDict;
  31. - clear:sender;
  32. - buildColumnNamesDictionary:(NSArray *)attributesArray;
  33. - (void) announce:sender selector:(SEL)selector;
  34. - (void) announce:sender selector:(SEL)selector with:array;
  35. - (void) logString:(NSString *) aString;
  36. @end
  37.